﻿Ext.define('BIM.store.Role', {
    extend: 'Ext.data.Store',
    model: 'BIM.model.Role',    
    //pageSize: Twi.PageSize,    
    proxy: {
        type: 'ajax',
        url: Twi.Url,
        reader: {
            type: 'json',
            root: 'data',
            totalProperty: 'totalCount',
            successProperty: 'success'
        },
        extraParams: {
            cn: 'PageCommon',
            mn: 'TAB',
            mn2: 'GetBySimpleCondition',
            data: Ext.encode({
                TableName: 'SM008',
                OrderFields: 'FSORT'
            })
        }
    }

});

